<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/1/8
  Time: 10:25
  To change this template use File | Settings | File Templates.
--%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <base href="<%=basePath%>">
    <meta charset="utf-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is Game page">
    <link rel="stylesheet" href="css/game.css">
    <title>跳一跳</title>
    <script type="text/javascript" src = "js/Game.js"></script>
    <script type="text/javascript" src = "js/tween.min.js"></script>
    <script type="text/javascript" src = "js/Stats.js"></script>
    <script type="text/javascript" src = "js/three.js"></script>
    <script type="text/javascript" src = "js/jquery-1.7.1.min.js"></script>
</head>
<body onload="MenuStart();">
<input type="hidden" id="Maxscore" name="id"  value="<%=session.getAttribute("UserID")%>"/>
<div id = "canvas-background"></div>
<div id = "canvas-menu">
    <div style = "width:30%; height: 100%;float: left"></div>
    <div id = "canvas-menu-content">
        <div class = "toptitle" style="height: 30%"></div>

        <p id="Gametitle">Jump And Jump</p>

        <div id="StartGame" onclick="startGame()">
            开始游戏
        </div>

    </div>
    <div style = "clear:both; height:0px;"></div>
</div>
<div id="canvas-frame">
    <div id = "score">0
    </div>
</div>

<div id = "canvas_end">
    <div id = "return_home" onclick="toHome()">< 返回主页</div>
    <div style = "width:100%; height:15%"></div>
    <div id = "canvas_end_score">
        <p>==本次得分==</p>
        <div id = "score_laber">0</div>
        <div id = "canvas_end_head"></div>
    </div>

    <div id ="canvas_end_btn" onclick="startGame()">
        再玩一次
    </div>

    <div id = "height_score">历史最高分：null</div>
</div>
</div>
</body>
</html>
